home *** CD-ROM | disk | FTP | other *** search
- // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
-
- // NOTE: Do not modify the contents of this file. If this class is regenerated by
- // Microsoft Visual C++, your modifications will be overwritten.
-
-
- #include "stdafx.h"
- #include "polyctl.h"
-
- /////////////////////////////////////////////////////////////////////////////
- // CPolyCtl
-
- IMPLEMENT_DYNCREATE(CPolyCtl, CWnd)
-
- /////////////////////////////////////////////////////////////////////////////
- // CPolyCtl properties
-
- /////////////////////////////////////////////////////////////////////////////
- // CPolyCtl operations
-
- void CPolyCtl::SetFillColor(unsigned long newValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0xfffffe02, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- newValue);
- }
-
- unsigned long CPolyCtl::GetFillColor()
- {
- unsigned long result;
- InvokeHelper(0xfffffe02, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
-
- short CPolyCtl::GetSides()
- {
- short result;
- InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, NULL);
- return result;
- }
-
- void CPolyCtl::SetSides(short nNewValue)
- {
- static BYTE parms[] =
- VTS_I2;
- InvokeHelper(0x1, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
-